package com.ruoyi.project.web.carouselInfo.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 首页轮播对象 web_carousel_info
 * 
 * @author ruoyi
 * @date 2021-01-28
 */
public class CarouselInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long carouselId;

    /** 图片地址 */
    @Excel(name = "图片地址")
    private String imgUrl;

    /** 跳转 */
    @Excel(name = "跳转")
    private String toUrl;

    /** 排序号 */
    @Excel(name = "排序号")
    private Integer sortNum;

    /** 状态(0-正常，1-关闭) */
    @Excel(name = "状态(0-正常，1-关闭)")
    private String status;

    /** 备注 */
    @Excel(name = "备注")
    private String comments;

    public void setCarouselId(Long carouselId)
    {
        this.carouselId = carouselId;
    }

    public Long getCarouselId()
    {
        return carouselId;
    }
    public void setImgUrl(String imgUrl)
    {
        this.imgUrl = imgUrl;
    }

    public String getImgUrl()
    {
        return imgUrl;
    }
    public void setToUrl(String toUrl)
    {
        this.toUrl = toUrl;
    }

    public String getToUrl()
    {
        return toUrl;
    }
    public void setSortNum(Integer sortNum)
    {
        this.sortNum = sortNum;
    }

    public Integer getSortNum()
    {
        return sortNum;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setComments(String comments)
    {
        this.comments = comments;
    }

    public String getComments()
    {
        return comments;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("carouselId", getCarouselId())
            .append("imgUrl", getImgUrl())
            .append("toUrl", getToUrl())
            .append("sortNum", getSortNum())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("comments", getComments())
            .toString();
    }
}
